﻿using System.ComponentModel;
using System.Web.UI.WebControls.WebParts;

namespace Eneta.Portal.Profiles.ProfileEditWebPart
{
    [ToolboxItemAttribute(false)]
    public class ProfileEditWebPart : WebPart
    {
        protected override void CreateChildControls()
        {
            base.CreateChildControls();

            var control = Page.LoadControl("~/_controltemplates/ProfileEditControl.ascx");
            Controls.Add(control);
        }
    }
}
